STEP 8: Let's update the display so that we can watch the value of x get larger as the program runs.

  • Go to and drag out Update Display. Drop it INSIDE of the second for loop.
  • Change the variable name inside of .update() to x.
  • In the GRAPHICS tab, go to and drag Wait inside the loop.
  • Make sure both commands have a purple block ···· in front of them.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)